Notes · The rd and rmdir commands are functionally identical. · As a safety feature, attempting to delete a directory that is not empty without including the /s ...
The rd and rmdir commands remove empty directories in MS-DOS. To delete directories with files or directories within them, you must use the deltree command.